using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class DauSachDTO
    {
        #region Attributes
        private String _ISBN;
        private String _TenSach;
        private String _TheLoai;
        private String _TacGia;
        private String _TinhTrang; 
        private String _TomTat;
        #endregion

        #region Properties
        public String TomTat
        {
            get { return _TomTat; }
            set { _TomTat = value; }
        }

        public String TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }

        public String TacGia
        {
            get { return _TacGia; }
            set { _TacGia = value; }
        }

        public String TheLoai
        {
            get { return _TheLoai; }
            set { _TheLoai = value; }
        }

        public String TenSach
        {
            get { return _TenSach; }
            set { _TenSach = value; }
        }

        public String ISBN
        {
            get { return _ISBN; }
            set { _ISBN = value; }
        }

        private int _DonGiaDauSach;

        public int DonGiaDauSach
        {
            get { return _DonGiaDauSach; }
            set { _DonGiaDauSach = value; }
        }
        #endregion

        #region Constructors

        public DauSachDTO()
        {
            ISBN = "";
            TenSach = "";
            TheLoai = "";
            TacGia = "";
            TinhTrang = "";
            DonGiaDauSach = 0;
            TomTat = "";
        }

        public DauSachDTO(string isbn, string tensach, string theloai, string tacgia, string tinhtrang, int dongiadausach, string tomtat)
        {
            ISBN = isbn;
            TenSach = tensach;
            TheLoai = theloai;
            TacGia = tacgia;
            TinhTrang = tinhtrang;
            DonGiaDauSach = dongiadausach;
            TomTat = tomtat;
        }
        #endregion

    }
}
